Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import top-level version of xarray classes #267

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

TomNicholas
Copy link
Member

For some reason I always thought that Variable and Index were private xarray internals, but they are actually available in the top-level namespace!

Now the only things we import from xarray that aren't at the top level are

from xarray.backends import AbstractDataStore, BackendArray
from xarray.core.indexes import PandasIndex

which are both semi-public anyway.

@TomNicholas TomNicholas merged commit fffdc2d into main Oct 22, 2024
11 checks passed
@TomNicholas TomNicholas deleted the xarray_imports branch October 22, 2024 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant